package web

import (
	"gitee.com/xgotool/sqlite-logs-more/service/logs"
	"gitee.com/xiaoyutab/xgotool/xgin"
	"github.com/gin-gonic/gin"
)

// 获取app日志中的args分组
//
//	GET	log.app.args
func LogAppArgs(c *gin.Context) *xgin.Response {
	lis, err := logs.AppLogArgs()
	if err != nil {
		return xgin.Resp().Error(err)
	}
	return xgin.Resp().NoPage(c, lis, len(lis))
}
